﻿using System;
using SS.WPF.Framework.Display.Dialog;

namespace SS.WPF.Framework.ExceptionHandling
{
    /// <summary>
    /// interface for exception processor
    /// </summary>
    public interface IExceptionProcessor
    {
        /// <summary>
        /// Handle exception at client side
        /// </summary>
        /// <param name="ex">
        /// The ex to be handled
        /// </param>
        void HandleException(Exception ex);

        IDialogManager DialogManager
        {
            get;
        }
    }
}